package com.ls.lserp.modules.material.dao;


import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.material.entity.InventoryRequest;

/**
 * @ClassName: InventoryRequest
 * @Description: 分类接口
 * 
 * @author 
 * @date 2017年04月14日 
 *
 */

@MyBatisDao
public interface InventoryRequestDao extends CrudDao<InventoryRequest>{
	/**
	  * @Title: findInventoryRequestDetailList
	  * @Description: 库存申请
	  * @param @param inventoryRequest
	  * @param @return
	  * @return List<InventoryRequest> 
	  * @throws
	  */
	public List<InventoryRequest> findInventoryRequestDetailList(InventoryRequest inventoryRequest);
	
	/**
	  * @Title: findBrandList
	  * @Description: 客户品牌
	  * @param @param inventoryRequest
	  * @param @return
	  * @return List<InventoryRequest> 
	  * @throws
	  */
	public List<InventoryRequest> findBrandList(InventoryRequest inventoryRequest);
	
	/**
	 * 入库申请单
	 * @param inventoryRequest
	 * @return
	 */
	public int insertInventoryRequest(InventoryRequest inventoryRequest);
	
	/**
	 * 入库申请单详细
	 * @param inventoryRequest
	 * @return
	 */
	public int insertInventoryRequestDetails(InventoryRequest inventoryRequest);
	
	/**
	  * @Title: deleteRequestDetails
	  * @Description: 物理删除入库申请明细
	  * @param @param inventoryRequest
	  * @param @return
	  * @return int 
	  * @throws
	  */
	public int deleteRequestDetails(InventoryRequest inventoryRequest);
	
	/**
	  * @Title: updateInventoryRequest
	  * @Description: 更新入库申请
	  * @param @param inventoryRequest
	  * @param @return
	  * @return int 
	  * @throws
	  */
	public int updateInventoryRequest(InventoryRequest inventoryRequest);
	
	/**
	  * @Title: findRequestDetailsList
	  * @Description: 入库申请明細
	  * @param @param inventoryRequest
	  * @param @return
	  * @return List<InventoryRequest> 
	  * @throws
	  */
	public List<InventoryRequest> findRequestDetailsList(InventoryRequest inventoryRequest);
}
